package com.test.springmvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/delete")
public class PathVariableCtrl {

    @RequestMapping(value = "/{id}/{username}")
    public String delete(@PathVariable(value = "id") Integer uid,@PathVariable(value = "username") String username1)
    {
        System.out.println(uid + "-------------->" + username1);
        return "login";
    }

}
